import http from "wechat-http";

// 基础路径
http.baseURL = 'https://live-api.itheima.net'
http.intercept.response = (res) => {
    return res.data
}

// 挂载到全局对象
wx.http = http

export default http